package cn.zhentao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = {
    org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class,
    org.springframework.boot.autoconfigure.data.redis.RedisReactiveAutoConfiguration.class,
    org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration.class,
    org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.class,
    org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class,
    org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration.class,
    org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration.class
})
@EnableScheduling
@ComponentScan(basePackages = {
    "cn.zhentao.controller",
    "cn.zhentao.service",
    "cn.zhentao.util",
    "cn.zhentao.common",
    "cn.zhentao.config"
})

public class AppServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppServiceApplication.class, args);
        System.out.println(
                "                    ___====-_  _-====___\n" +
                        "              _--^^^#####//      \\\\#####^^^--_\n" +
                        "           _-^##########// (    ) \\\\##########^-_\n" +
                        "          -############//  |\\^^/|  \\\\############-\n" +
                        "        _/############//   (@::@)   \\\\############\\_\n" +
                        "       /#############((     \\\\//     ))#############\\\n" +
                        "      -###############\\\\    (oo)    //###############-\n" +
                        "     -#################\\\\  / VV \\  //#################-\n" +
                        "    -###################\\\\/      \\//###################-\n" +
                        "   _#/|##########/\\######(   /\\   )######/\\##########|\\#_\n" +
                        "   |/ |#/\\#/\\#/\\/  \\#/\\##\\  |  |  /##/\\#/  \\/\\#/\\#/\\#| \\|\n" +
                        "   `  |/  V  V  `   V  \\#\\| |  | |/#/  V   '  V  V  \\|  '\n" +
                        "      `   `  `      `   / | |  | | \\   '      '  '   '\n" +
                        "                       (  | |  | |  )\n" +
                        "                      __\\ | |  | | /__\n" +
                        "                     (vvv(VVV)(VVV)vvv)\n" +
                        "                           🐉\n" +
                        "\n" +
                        "              🔥 东方神龙守护 - AI App Service 启动成功! 🔥"
        );
        System.out.println(
                " ______        __    __        ______    \n" +
                        "/\\___  \\      /\\ \"-./  \\      /\\___  \\   \n" +
                        "\\/_/  /__     \\ \\ \\-./\\ \\     \\/_/  /__  \n" +
                        "  /\\_____\\     \\ \\_\\ \\ \\_\\      /\\_____\\ \n" +
                        "  \\/_____/      \\/_/  \\/_/      \\/_____/ \n" +
                        "                                         "
        );

    }
}
